import { useState,useEffect } from 'react'
import reactLogo from './assets/react.svg'
import './App.css'
import { addComment } from './api/request'

function App() {
  useEffect(() => {
    // localStorage.setItem('token','eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEzMTQ1NiwiaWF0IjoxNjU5OTQ3MTE2LCJleHAiOjE2NjAwMzM1MTZ9.AjBwmjlx_3hJSAIb5of1av1tLXg45d3jrqU2d8DQMdA')
    addComment()
      .then(data => {
        console.log(data);
      })
  },[])

  return (
    <div>
      app
    </div>
  )
}

export default App
